package com.mjduan.myBank.util.logger;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 封装了System.out.println();
 * 
 * @author Duan
 *
 */
public final class MyLogger {
	
	private static Logger LOGGER = LoggerFactory.getLogger("com.mjduan.myBank");
	
	private MyLogger(){
		
	}
	
	public static void info(String arg0){
		LOGGER.info(arg0);
	} 
	
	public static void debug(String arg0){
		LOGGER.debug(arg0);
	}
	
	public static void error(String arg0){
		LOGGER.error(arg0);
	}
}
